# 9_1 列表_嵌套索引取出

name1=['Tom','Ane','Leo']
name2=['Tom2','Ane2','Leo2']
name3=[name1,name2]
#print(name3[0][2]) #读取name1中的第三个元素

i = 0
for x in name3:
    j = 0
    for x1 in name1:
        print(name3[i][j])
        j+=1
    i+=1
